package com.brush.brushcommon.common.basic.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.brush.brushcommon.common.BasicEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 题目表
 * </p>
 *
 * @author debug
 * @since 2024-07-14
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("basic_topic")
@Schema(name = "Topic对象", description = "题目表")
public class Topic extends BasicEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @Schema(description = "类型名称")
    private String typeName;

    @Schema(description = "类型标识")
    private Integer typeMark;

    @Schema(description = "题目(题干)")
    private String question;

    @Schema(description = "选项，单选、多选、判断都使用这样的格式存储")
    private String options;

    @Schema(description = "答案，简答、填空")
    private String answer;

    @Schema(description = "题目解析")
    private String analysis;

    @Schema(description = "解析需要插入的图片")
    private String analysisImage;

    @Schema(description = "填空规则，0按照顺序，1无规则匹配")
    private Integer fillType;

    @Schema(description = "创建人")
    private String gmtFounder;
}
